package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckitemService {

    //添加检查项
    public void add(CheckItem checkItem);

    //分页搜索所有检查项
    public PageResult queryAll(Integer currentPage, Integer pageSize, String queryString);

//    根据ID查询该检查项
    public CheckItem qurey(Integer id);

    //修改检查项
    public void Update(CheckItem checkItem);

    //删除检查项
    public boolean DeleteById (Integer id);
}
